<?php
defined ( 'IN_ADMIN' ) or exit ( 'No permission resources.' );
error_reporting ( E_ERROR );
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="<?php echo CHARSET?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo L('admin_site_title')?></title>
<link rel="stylesheet" href="<?php echo ASSET_PATH;?>css/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo ASSET_PATH;?>css/bootstrap-theme.min.css">
<script src="<?php echo ASSET_PATH;?>js/jquery-1.11.2.min.js"></script>
<script src="<?php echo ASSET_PATH;?>js/bootstrap.min.js"></script>
	<?php
	if (isset ( $show_dialog )) {
		?>
<script language="javascript" type="text/javascript"
	src="<?php echo JS_PATH?>artDialog/jquery.artDialog.js?skin=default"></script>
<script language="javascript" type="text/javascript"
	src="<?php echo JS_PATH?>artDialog/plugins/iframeTools.js"></script>
<?php } ?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>admin_common.js"></script>
<?php if(isset($show_validator)) { ?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js"
	charset="UTF-8"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidatorregex.js"
	charset="UTF-8"></script>
<?php } ?>
<script type="text/javascript">
	window.focus();
</script>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
   <?php if(!isset($show_header)) { ?>
   <ul class="nav nav-pills">
  <li role="presentation" class="active"><a href="#">Home</a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages</a></li>
</ul>
   <div class="subnav">
				<div class="content-menu ib-a blue line-x">
    <?php if(isset($big_menu)) { echo '<a class="add fb" href="'.$big_menu[0].'"><em>'.$big_menu[1].'</em></a>　';} else {$big_menu = '';} ?>
    <?php $menuid = isset($_GET['menuid']) ? intval($_GET['menuid']) : 0 ;
    echo Web_Admin::submenu($menuid,$big_menu); ?>
  </div>
			</div>
<?php } ?>
  </div>
	</div>